package cn.wolfcode.car.business.service;
import cn.wolfcode.car.business.domain.Appointment;
import cn.wolfcode.car.business.query.AppointmentQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.catalina.Service;

import java.util.List;

public interface IAppointmentService extends IService<Appointment> {
    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<Appointment> query(AppointmentQuery qo);

    void arrival(Long id);

    void cancel(Long id);

    void SoftDelete(Long id);


    void settlement(Long id);

    Long generateStatement(Long appointmentId);
}
